package com.tinklabs.demo.utils;

import java.util.Collection;
import java.util.Map;

/**
 * Created by Jennifer.
 */

public class CollectionUtils {
    public static boolean isEmpty(Collection collection) {
        return collection == null || collection.isEmpty();
    }

    public static boolean isEmpty(Map map) {
        return map == null || map.isEmpty();
    }
}
